import Vue from "vue";
import Vuex from "vuex"

import Search from "@/store/Search"
import TypeNov from "@/store/TypeNov"
import ListContainer from "@/store/ListContainer"
import floor from "@/store/floor"
import Detail from "@/store/Detail"
import AddCartSuccess from "@/store/AddCartSuccess"
import ShopCart from "@/store/ShopCart"
import LoginandRegistration from "@/store/LoginandRegistration"
import Trade from "@/store/Trade"
Vue.use(Vuex)

export default new Vuex.Store({
    modules: {          //模块化开发
        Search,
        TypeNov,
        ListContainer,
        floor,
        Detail,
        AddCartSuccess,
        ShopCart,
        LoginandRegistration,
        Trade
    }
})